//
//  YSGNurseAppointmentMarkCell.swift
//  EyeVisionForPatients
//
//  Created by liuyutian on 2022/3/3.
//  Copyright © 2022 QDSG. All rights reserved.
//

import UIKit
import WebKit


class YSGNurseAppointmentMarkCell: UITableViewCell,WKNavigationDelegate {


    @IBOutlet weak var webView: WKWebView!
    
    var htmlModel: AgreementViewModel?
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }

    func configuration(){
        webView.loadHTMLString(htmlModel?.text ?? "", baseURL: nil)
        webView.navigationDelegate = self
    }
    func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
    {
        
    }
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
       
        // Configure the view for the selected state
    }
    
}
